package com.info.zhiduoduo.repository.entity.marketingcooperative;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("zdd_marketing_cooperative_partner_poster")
public class MarketingCooperativePartnerPoster extends Model<MarketingCooperativePartnerPoster> {

	@TableId(type = IdType.AUTO)
	/**
	 * id
	 */
	private Integer id;

	/**
	 * 合伙人id
	 */
	private Integer partnerid;

	/**
	 * 企业id
	 */
	private Integer compid;

	/**
	 * 海报配置id
	 */
	private Integer posterConfigId;

	/**
	 * img_path
	 */
	private String imgPath;

	/**
	 * createtime
	 */
	private Date createtime;

	/**
	 * updatetime
	 */
	private Date updatetime;

	@Override
	protected Serializable pkVal() {
		return id;
	}
}
